package com.change.study.data.dao;


import  com.change.study.data.core.BaseDao;
import  com.change.study.data.core.Updater;
import com.change.study.data.core.Pagination;
import  com.change.study.data.entity.Posts;

public interface PostsDao extends BaseDao<Posts, Long>{
	public Pagination getPage(int pageNo, int pageSize);

	public Posts findById(Long id);

	public Posts save(Posts bean);

	public Posts updateByUpdater(Updater<Posts> updater);

	public Posts deleteById(Long id);
}